Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: refactor setup and get all tests passing #442

Merged
merged 13 commits into from
Jan 1, 2022

Conversation

kares
Copy link
Contributor

@kares kares commented Dec 30, 2021

back to 🟢

refactored the Dockerfile to use the base file (from .ci) and have the extra install openssl in .ci/setup.sh hook

@kares kares changed the title CI: get all tests passing CI: simplify setup and get all tests passing Dec 30, 2021
@kares kares changed the title CI: simplify setup and get all tests passing Test: refactor setup and get all tests passing Dec 30, 2021
"host" => host,
"ssl_peer_metadata" => true,
"ssl_certificate_authorities" => [ certificate.ssl_cert ],
"ecs_compatibility" => 'disabled'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't have a test case for tls metadata in ecs mode, isn't it?

Copy link
Contributor Author

@kares kares Dec 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be elsewhere - recall writing this spec as specifically guarding against a NPE regression,
the bug surfaced regardless of ecs_compatibility and the test's intention isn't verifying ECS vs non-ECS field behavior (I understand it might seem so on first sight).

Copy link
Contributor

@kaisecheng kaisecheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change LGTM. Thanks for fixing the CI.
A suggestion is to add a test case for tls metadata in ecs mode.

@kares kares merged commit c646e54 into logstash-plugins:main Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants